/*
 * @Author: wwssaabb
 * @Date: 2021-07-26 09:15:32
 * @LastEditTime: 2021-08-11 08:25:43
 * @FilePath: \react-admin-client\src\index.js
 */
import React from 'react'
import ReactDOM from 'react-dom'
import { BrowserRouter } from 'react-router-dom'
import { Provider } from 'react-redux'

import App from './App'
import store from './redux/store'
import './index.css'
import { getUser } from './utils/storageUtils'
import memoryUtils from './utils/memoryUtils'

memoryUtils.user=getUser()

ReactDOM.render(
  <Provider store={store}>
    <BrowserRouter>
      <App/>
    </BrowserRouter>
  </Provider>
  ,
  document.getElementById('root'))